<?php
session_start();
if(!isset($_SESSION['idUser']))
	exit();

require("includes/constants.php");
require("includes/selectLanguage.php");
require("includes/funciones.inc.php");

?>

<div class="formsPop">
	<form id="horsesPopGridForm" name="horsesPopGridForm" method="post">
		<table id="dt_racingHorse" class="display">
			<thead>
				<tr>
					<th><?=$a_languages["Horses.Action"];?></th>
					<th><?=$a_languages["Horses.NextRace"];?></th>
					<th><?=$a_languages["Horses.Distance"];?></th>
				</tr>
		    </thead>
		    <tbody>
		    	<tr>
		    		<td colspan="3" class="dataTables_empty"><?=$a_languages["Common.LoadingData"];?></td>
		    	</tr>
			</tbody>
		</table>
		<div class="botonesActions">
			<a id="btnRaceExit"><?=$a_languages['Common.Close']?></a>
			<a id="btnRaceAdd"><?=$a_languages['Common.Add']?></a>
		</div>
	</form>
</div>

<!-- PopUp Racing Item Dialog -->
<div id="horseItemRacingDialog"></div>

<!-- PopUp Delete Item Race Dialog -->
<div id="deleteHorsesRaceDialog" class="deletePop">
	<div id="tituloPopUp"><?=$a_languages["Common.DeleteConfirmMessage"];?></div>	
	<div class="botonesActions">
		<a id="btnConfirmDeleteItem"><?=$a_languages["Common.Yes"];?></a>
		<a id="btnExitDeleteItem"><?=$a_languages["Common.No"];?></a>
	</div>		
</div>


<script>
	$(document).ready(function() {
		$_initPopGrid();
	});
</script>
